package com.itaem.community.modules.vote.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.itaem.community.core.entity.Entity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 投票选项
 * </p>
 *
 * @author tomato
 * @since 2020-10-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("vote_options")
@ApiModel(value="VoteOptionsEntity对象", description="投票选项")
public class VoteOptionsEntity extends Entity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "所属投票id")
    private Integer voteId;

    @ApiModelProperty(value = "选项内容")
    private String optionContent;

    @ApiModelProperty(value = "投此选项的人数")
    private Integer count;

    @ApiModelProperty(value = "逻辑删除")
    private Boolean deleted;


}
